package cn.wdm.ymcc.dto;

import cn.wdm.ymcc.result.PageList;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;
@Data
@NoArgsConstructor
public class EsAggsPageList<T> extends PageList<T> {
    private Map<String, List<AggrsBucket>> aggResult;
    public EsAggsPageList(Long total, List<T> rows, Map<String, List<AggrsBucket>> aggResult) {
        super(total, rows);
        this.aggResult = aggResult;
    }
}
